<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/jsp/manage/common/taglibs.jsp" %>

<div>
    <form id="manage_merchant_account_withdraw_editform"
          action="${pageContext.request.contextPath}/manage/merchant/merchant/accountWithdrawJson.html"
          method="post">
        <jodd:form bean="merchantAccountWithdraw" scope="request">
            <table class="tableForm" width="100%" id="merchant_table">
                <tr>
                    <th>商户名称：</th>
                    <td><input rows="3" cols="40" style="width:300px;" name="merchantName" class="easyui-validatebox"
                                  data-options="required:true"  value="${merchant.merchantName}" readonly
                                  validType="byteLength[1,256]"/>
                </tr>
                <tr>
                    <th>商户ID：</th>
                    <td><input type="text" name="merchantId" size="48" class="easyui-validatebox text"
                               value="${merchant.merchantId}" data-options="required:true" readonly
                               validType="byteLength[1,32]"/></td>
                </tr>
                <tr>
                    <th>金额：</th>
                    <td><input type="text" name="amount" size="48" class="easyui-validatebox text"
                               data-options="required:true" validType="money" placeholder="请输入提现金额，单位为元"/>
                        <span>元</span>
                    </td>
                </tr>
                <tr>
                    <th>可提现金额：</th>
                    <td>${accountInfo.balance.subtract(accountInfo.freezeAmount).toCNString()}</td>
                </tr>
            </table>
        </jodd:form>
    </form>
</div>

